{% load local_datefilter %}
Change the preffered languages and reload this page to see how it works!<br>
<hr>
language code:
{{ request.LANGUAGE_CODE }} <br>
d F Y:
{{ datenow|date:"d F Y" }} 
<hr>
This is not safe to use, because different languages will use different formats:<br>
d {Fp} Y:
{{ datenow|ldate:"d {Fp} Y" }}<br>
<hr>
Use these instead:<br> 
<br>
{FULL_DATE}
{{ datenow|ldate:"{FULL_DATE}" }} 
<br>
{FULL_DATETIME}
{{ datenow|ldate:"{FULL_DATETIME}" }} 
<br>
{ABBR_DATE}
{{ datenow|ldate:"{ABBR_DATE}" }} 
<br>
{ABBR_DATETIME}
{{ datenow|ldate:"{ABBR_DATETIME}" }} 
<br>
{ABBR2_DATE}
{{ datenow|ldate:"{ABBR2_DATE}" }} 
<br>
{ABBR2_DATETIME}
{{ datenow|ldate:"{ABBR2_DATETIME}" }} 
<br>
{NUM_DATE}
{{ datenow|ldate:"{NUM_DATE}" }} 
<br>
{FULL_YEARMONTH}
{{ datenow|ldate:"{FULL_YEARMONTH}" }} 
<br>
{FULL_MONTHDAY}
{{ datenow|ldate:"{FULL_MONTHDAY}" }} 
<br>
{NUM_DATETIME}
{{ datenow|ldate:"{NUM_DATETIME}" }} 
<br>
{NUM_MONTHDAY}
{{ datenow|ldate:"{NUM_MONTHDAY}" }} 
<br>
{NUM_YEARMONTH}
{{ datenow|ldate:"{NUM_YEARMONTH}" }} 
<br>
{ABBR_YEARMONTH}
{{ datenow|ldate:"{ABBR_YEARMONTH}" }} 
<br>
{ABBR_MONTHDAY}
{{ datenow|ldate:"{ABBR_MONTHDAY}" }} 

<hr>
ltime:"{FULL_TIME}"
{{datenow|ltime:"{FULL_TIME}"}}
<hr>
Example of translated date format: <br>
"\T\h\i\s \i\s: {_(MY_DATE)} - {FULL_DATE}"<br>
{_(MY_DATE)} is actually defined in this example application, only in English:<br>
{{datenow|ldate:"\T\h\i\s \i\s: {_(MY_DATE)} - {FULL_DATE}"}}

<hr>

{% now "d F Y" %}
